import Vue from 'vue'
import Vuex from 'vuex'
import state from "./defaultState"
import mutations from "./mutations"
import permission from "./modules/permission";
import getters from "@/store/getters";
import topAside from "./modules/topAside"
Vue.use(Vuex)

export default new Vuex.Store({
    state,
    mutations,
    getters,
    modules:{
        permission,
        topAside
    }
})
